-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK DataLoader
s 9: polish, docs, etc
#5388
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
teh-cmc
added
📖 documentation
Improvements or additions to documentation
do-not-merge
Do not merge this PR
include in changelog
🪵 Log & send APIs
Affects the user-facing API for all languages
labels
Mar 4, 2024
This was referenced Mar 4, 2024
teh-cmc
force-pushed
the
cmc/sdk_dataloader_8_the_end
branch
from
March 4, 2024 15:26
689cd22
to
152db29
Compare
teh-cmc
added a commit
that referenced
this pull request
Mar 4, 2024
This makes the `log_file` APIs behave more like the standard `log` APIs; i.e. they inherit the state of their associated `RecordingStream` (app_id, rec_id, timepoint, etc...). Also inherit the application ID while we're at it. Makes the API much nicer to use _and_ much more consistent with the rest. Checks: - [x] external loader ran manually (`python loader | rerun`) - [x] external loader via rerun (`rerun xxx.py`) - [x] log_file with external loader (`log_file xxx.py`) - [x] external loader ran manually (`loader | rerun`) - [x] external loader via rerun (`rerun xxx.rs`) - [x] log_file with external loader (`log_file xxx.rs`) --- Part of series of PR to expose configurable `DataLoader`s to our SDKs: - #5327 - #5328 - #5330 - #5337 - #5351 - #5355 - #5379 - #5361 - #5388 --------- Co-authored-by: Andreas Reich <andreas@rerun.io>
teh-cmc
added a commit
that referenced
this pull request
Mar 4, 2024
Introduces the new `DataLoaderSettings` business to C++ and update examples accordingly (`external_data_loader` & `log_file`). ```bash ./build/debug/examples/cpp/log_file/example_log_file --recording-id this-one --entity-path-prefix a/b/c --time sim_time=1000 --time wall_time=1709204046 --sequence sim_frame=42 rerun_cpp/tests/main.cpp | rerun - ``` ![image](https://github.com/rerun-io/rerun/assets/2910679/b979a24c-29b6-473b-91b1-de3832bea436) Checks: - [x] external loader ran manually (`loader.exe | rerun`) - [x] external loader via rerun (`rerun xxx.cpp`) - [x] log_file with external loader (`log_file xxx.cpp`) --- Part of series of PR to expose configurable `DataLoader`s to our SDKs: - #5327 - #5328 - #5330 - #5337 - #5351 - #5355 - #5379 - #5361 - #5388
teh-cmc
force-pushed
the
cmc/sdk_dataloader_8_the_end
branch
from
March 4, 2024 16:53
152db29
to
27231a8
Compare
teh-cmc
force-pushed
the
cmc/sdk_dataloader_8_the_end
branch
2 times, most recently
from
March 4, 2024 17:06
f8ba0c5
to
c5edd3a
Compare
teh-cmc
force-pushed
the
cmc/sdk_dataloader_8_the_end
branch
from
March 4, 2024 17:13
c5edd3a
to
196c452
Compare
We did it 🥳 cc @roym899 |
Wumpf
approved these changes
Mar 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
neat! left suggestions to improve it a bit more still, but already a lot better
Wumpf
approved these changes
Mar 6, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for going the extra mile, appreciated!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
📖 documentation
Improvements or additions to documentation
include in changelog
🪵 Log & send APIs
Affects the user-facing API for all languages
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I guess that's good enough 🤷. I don't know, my brain has been completely friend by C++ non-sense all day.
This includes a fix to make sure that a viewer that was spawned from the python SDK is still allowed to spawn dataloaders implemented in python (
RERUN_APP_ONLY
shenaniganeries).DataLoader
s should be exposed to the SDKs #4526Part of series of PR to expose configurable
DataLoader
s to our SDKs:DataLoader
s 1: barebones Rust support #5327DataLoader
s 2: barebones Python support #5328DataLoader
s 3: barebones C and C++ support #5330DataLoader
s 4: working around shutdown brittleness #5337DataLoader
s 5: customizable (external) loaders for Rust #5351DataLoader
s 6: customizable (external) loaders for Python #5355DataLoader
s 7: stateful file logging #5379DataLoader
s 8: customizable (external) loaders for C++ #5361DataLoader
s 9: polish, docs, etc #5388Checklist
main
build: app.rerun.ionightly
build: app.rerun.io